<% include ../header.ejs %>

<link rel="stylesheet" href="/stylesheets/app/evaluate/evaluate_index.css">

<header data-am-widget="header" data-am-sticky class="am-header am-header-default am-header-fixed"
        id="appTemplates-Nav">
    <div class="am-header-left am-header-nav">
        <a href="javascript:history.go(-1)" onClick="">
            <img class="am-header-icon-custom"
                 src="data:image/svg+xml;charset=utf-8,&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 12 20&quot;&gt;&lt;path d=&quot;M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z&quot; fill=&quot;%23fff&quot;/&gt;&lt;/svg&gt;"
                 alt=""/>
            <span class="am-header-nav-title">
               首页
            </span>
        </a>
    </div>

    <h1 class="am-header-title">
        <a href="#title-link" class="" id="Typeface-whitecolor">服务评价</a>
    </h1>
</header>

<div data-am-widget="list_news" class="am-list-news am-list-news-default">
    <!--列表标题-->
    <!--<div class="am-list-news-hd am-cf">-->
    <!--&lt;!&ndash;带更多链接&ndash;&gt;-->
    <!--<a href="##" class="">-->
    <!--<h2>栏目标题</h2>-->
    <!--<span class="am-list-news-more am-fr">更多 &raquo;</span>-->
    <!--</a>-->
    <!--</div>-->

    <!--//            "rowId": "b229554d-1116-48c6-82ec-826be3d19ee42",-->
    <!--//            "sellerName": "lisi",-->
    <!--//            "surveyingCount": null,-->
    <!--//            "roadshowCount": null,-->
    <!--//            "recommondCount": null,-->
    <!--//            "strategymeetingCount": 1,-->
    <!--//            "otherserviceCount": 1-->


    <div class="am-list-news-bd">
        <ul class="am-list">

            <% list.forEach(function(data, key){ %>
            <li onclick="javascript:self.location='servicelist?seller=<%= data.rowId %>'"
                class="am-g am-list-item-dated">
                <a class="am-list-item-hd "><%= data.sellerName %></a>

                <% var serviceCountInfo = "" %>
                <% if(data.surveyingCount != null ){ %>
                <% serviceCountInfo += "调研" + data.surveyingCount + "次," %>
                <% } %>
                <% if(data.roadshowCount != null ){ %>
                <% serviceCountInfo += "路演" + data.roadshowCount + "次," %>
                <% } %>
                <% if(data.strategymeetingCount != null ){ %>
                <% serviceCountInfo += "策略会" + data.strategymeetingCount + "次," %>
                <% } %>
                <% if(data.recommondCount != null ){ %>
                <% serviceCountInfo += "重点推荐" + data.recommondCount + "次," %>
                <% } %>
                <% if(data.otherserviceCount != null ){ %>
                <% serviceCountInfo += "其他服务" + data.otherserviceCount + "次," %>
                <% } %>

                <% if(serviceCountInfo.indexOf(",") > 0){ %>
                <% serviceCountInfo = serviceCountInfo.substring(0, serviceCountInfo.length - 2) %>
                <% } %>

                <span class="am-list-item-text"><%= serviceCountInfo %></span>

                <!--<span class="am-list-date">2013-09-18</span>-->

            </li>
            <% }) %>

        </ul>
    </div>

    <!--<div class="am-list-news-ft">-->
    <!--<a class="am-list-news-more am-btn am-btn-default " href="###">查看更多 &raquo;</a>-->
    <!--</div>-->

</div>

<% include ../footer.ejs %>
